import React from 'react';
import './App.css';
import Home from './pages/Home'
import {Routes,Route,useRoutes,BrowserRouter } from 'react-router-dom'
import routers from './router';
function App() {
    const GetRoutes = () => useRoutes(routers); //一定要是函数内
    return (
            <GetRoutes />
    );
}

export default App;
